import { requestType } from '~/config/enum.config'

const SERVICE = 'domain-service'
const CONTROLLER = 'CustomFollowController'

export default {
  /**
   * 自定义出入催管理-导入入催模板
   */
  importFollowInTemplate: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'importFollowInTemplate',
    type: requestType.Get
  },
  /**
   * 自定义出入催管理-导入出催模板
   */
  importFollowOutTemplate: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'importFollowOutTemplate',
    type: requestType.Get
  },
  /**
   * 自定义出入催查询列表
   */
  findAllByPage: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'findAllByPage',
    type: requestType.Get
  },
  /**
   * 自定义出入催列表删除
   */
  deleteById: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'deleteById',
    type: requestType.Get
  },
  /**
   * 自定义出入催管理-下载入催模板
   */
  downLoadFollowInTemplate: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'downLoadFollowInTemplate',
    type: requestType.Get
  },
  /**
   * 自定义出入催管理-下载出催模板
   */
  downLoadFollowOutTemplate: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'downLoadFollowOutTemplate',
    type: requestType.Get
  },
  /**
   * 自定义出入催管理-搜索入催数据
   */
  searchFollowIn: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'searchFollowIn',
    type: requestType.Post
  },
  /**
   * 自定义出入催管理-删除入催数据
   */
  deleteFollowIn: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'deleteFollowIn',
    type: requestType.Post
  },
  /**
   * 自定义出入催管理-重置入催数据
   */
  refreshFollowIn: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'refreshFollowIn',
    type: requestType.Post
  },
  /**
   * 自定义出入催管理-新增入催数据
   */
  followIn: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'followIn',
    type: requestType.Post
  },
  /**
   * 自定义出入催管理-新增出催数据
   */
  followOut: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'followOut',
    type: requestType.Post
  },
}
